package com.xinqi.modules.exam.student.dto.req;

import com.xinqi.modules.exam.student.dto.PaperAnswerDTO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * 课程测评学生答题-提交试卷-新增
 *
 * @author: linkai
 * @date: 2023/07/02
 */
@Data
@Schema(description = "课程测评学生答题-提交试卷-新增")
public class CourseExamPaperStudentSubmitDTO implements Serializable {

    /**
     * 测评ID
     */
    @Schema(description = "测评ID", example = "")
    @NotNull(message = "测评ID不能为空")
    private Long examPaperId;
    /**
     * 学生ID
     */
    @Schema(description = "学生ID", example = "", hidden = true)
    private Long studentId;
    /**
     * 是否强制收卷
     */
    @Schema(description = "是否强制收卷", example = "")
    private Boolean isForceSubmit;
    /**
     * 试卷答案
     */
    @Schema(description = "试卷答案", example = "")
    private List<PaperAnswerDTO> paperAnswer;

}
